async function callApi(name, action, data) {
  return await wx.cloud.callFunction({
    name: name,
    data: {
      action: action,
      data: data
    }
  })
}

export{
  callApi
}